package com.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * @author XiaoHao
 * @date 2021-03-18 15:22
 */
public class Component {
    /**
     * 表名
     */
    private String tableName;
    /**
     * 值
     */
    private Map<Object,Object> param;



    public Component() {
    }

    public Component(String tableName, Map<Object, Object> param) {
        this.tableName = tableName;
        this.param = param;

    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Map<Object, Object> getParam() {
        return param;
    }

    public void setParam(Map<Object, Object> param) {
        this.param = param;
    }


    @Override
    public String toString() {
        return "Component{" +
                "tableName='" + tableName + '\'' +
                ", param=" + param +

                '}';
    }
}
